import Main from '@/view/main'
import parentView from '@/components/parent-view'

/**
 * iview-admin中meta除了原生参数外可配置的参数:
 * meta: {
 *  hideInMenu: (false) 设为true后在左侧菜单不会显示该页面选项
 *  notCache: (false) 设为true后页面不会缓存
 *  access: (null) 可访问该页面的权限数组，当前路由设置的权限会影响子路由
 *  icon: (-) 该页面在左侧菜单、面包屑和标签导航处显示的图标，如果是自定义图标，需要在图标名称前加下划线'_'
 * }
 */

// 角色
// 超级管理员 super_admin
// 服务商管理员 service_admin
// 服务商 service
// 物业管理员 property_admin
// 物业 property


export default [
    {
        path: '/login',
        name: 'login',
        meta: {
            title: 'Login - 登录',
            hideInMenu: true
        },
        component: () =>
            import ('@/view/login/login.vue')
    },
    {
        path: '/screen',
        name: 'screen',
        meta: {
            title: '大屏幕',
            hideInMenu: true
        },
        component: () =>
            import ('@/view/statistics/screen')
    },
    {
        path: '/',
        name: '首页',
        redirect: '/home',
        component: Main,
        meta: {
            hideInMenu: true
        },
        children: [
            {
                path: 'home',
                name: 'home',
                meta: {
                    icon: 'help-buoy',
                    title: '工作台',
                    hideInMenu: true
                },
                component: () =>
                    import ('@/view/statistics/home')
            }
        ]
    },
    {
        path: '/',
        name: 'person',
        redirect: '/person',
        component: Main,
        meta: {
            hideInMenu: true
        },
        children: [
            {
                path: 'person',
                name: 'person',
                meta: {
                    icon: 'help-buoy',
                    title: '个人中心',
                    hideInMenu: true
                },
                component: () =>
                    import ('@/view/user-management/userperson')
            }
        ]
    },
    {
        path: '/weixin',
        name: 'weixin',
        meta: {
            access: ['super_admin', 'service_admin', 'property_admin', 'service', 'property'],
            icon: 'md-contacts',
            title: '微信支付宝配置'
        },
        component: Main,
        children: [
            {
                path: 'weixinAuth',
                name: 'weixinAuth',
                meta: {
                    access: ['super_admin', 'service_admin', 'property_admin', 'service', 'property'],
                    icon: 'ios-chatbubbles',
                    title: '公众号授权'
                },
                component: () =>
                    import ('@/view/weixin/weixinAuth')
            },
            {
                path: 'weixinPay',
                name: 'weixinPay',
                meta: {
                    access: ['super_admin', 'service_admin', 'property_admin', 'service', 'property'],
                    icon: 'logo-chrome',
                    title: '微信支付设置'
                },
                component: () =>
                    import ('@/view/weixin/weixinPay')
            },
            {
                path: 'hainaConfig',
                name: 'hainaConfig',
                meta: {
                    access: ['super_admin', 'service_admin', 'property_admin', 'service', 'property'],
                    icon: 'md-help-buoy',
                    title: '海纳设置'
                },
                component: () =>
                    import ('@/view/weixin/hainaConfig')
            },
            {
                path: 'weixinConfig',
                name: 'weixinConfig',
                meta: {
                    access: ['super_admin', 'service_admin', 'property_admin', 'service', 'property'],
                    icon: 'ios-clipboard',
                    title: '服务行业设置'
                },
                component: () =>
                    import ('@/view/weixin/weixinConfig')
            },
            {
                path: 'alipayConfig',
                name: 'alipayConfig',
                meta: {
                    access: ['super_admin', 'service_admin', 'property_admin', 'service', 'property'],
                    icon: 'md-settings',
                    title: '支付宝设置'
                },
                component: () =>
                    import ('@/view/weixin/alipayConfig')
            },
            {
                path: 'weixinMenu',
                name: 'weixinMenu',
                meta: {
                    access: ['super_admin', 'service_admin'],
                    icon: 'ios-document',
                    title: '配置H5应用'
                },
                component: () =>
                    import ('@/view/weixin/weixinMenu')
            }
        ]
    },
    {
        path: '/propertyinfo',
        name: 'propertyinfo',
        meta: {
            access: ['super_admin', 'service_admin', 'property_admin', 'service', 'property'],
            icon: 'ios-people-outline',
            title: '基础数据'
        },
        component: Main,
        children: [
            {
                path: 'boss',
                name: 'boss',
                meta: {
                    access: ['super_admin', 'service_admin', 'service'],
                    icon: 'ios-planet-outline',
                    title: '服务商管理'
                },
                component: () =>
                    import ('@/view/serviceinfo/boss')
            },
            {
                path: 'property',
                name: 'property',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin'],
                    icon: 'ios-podium-outline',
                    title: '物业管理'
                },
                component: () =>
                    import ('@/view/propertyinfo/property')
            },
            {
                path: 'houseList',
                name: 'houseList',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-home',
                    title: '小区管理'
                },
                component: () =>
                    import ('@/view/propertyinfo/housinginfo/houseList')
            },
            {
                path: 'roomList',
                name: 'roomList',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'md-home',
                    title: '房屋管理'
                },
                component: () =>
                    import ('@/view/propertyinfo/housinginfo/roomList')
            },
            {
                path: 'ownerList',
                name: 'ownerList',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-contacts',
                    title: '业主管理'
                },
                component: () =>
                    import ('@/view/propertyinfo/housinginfo/ownerList')
            },
            {
                path: 'print',
                name: 'print',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-print',
                    title: '打印机配置'
                },
                component: () =>
                    import ('@/view/propertyinfo/print')
            }
        ]
    },
    {
        path: '/billAccount',
        name: 'billAccount',
        meta: {
            access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
            icon: 'logo-yen',
            title: '收费管理'
        },
        component: Main,
        children: [
            {
                path: 'cashier',
                name: 'cashier',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'logo-foursquare',
                    title: '收银台'
                },
                component: () => import ('@/view/propertyinfo/billAccount/cashier')
            },
            {
                path: 'costType',
                name: 'costType',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-disc',
                    title: '费用类型设置'
                },
                component: () =>
                    import ('@/view/propertyinfo/housinginfo/costType')
            },
            {
                path: 'noBill',
                name: 'noBill',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-folder-open-outline',
                    title: '未交账单'
                },
                component: () => import ('@/view/propertyinfo/billAccount/noBill')
            },
            {
                path: 'alreadyBill',
                name: 'alreadyBill',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-folder-open',
                    title: '已交账单'
                },
                component: () => import ('@/view/propertyinfo/billAccount/alreadyBill')
            },
            /*{
                path: 'prestore',
                name: 'prestore',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'logo-foursquare',
                    title: '预存款管理'
                },
                component: () => import ('@/view/ly-demo/test')
            },*/
            {
                path: 'collection',
                name: 'collection',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-create',
                    title: '账单催收'
                },
                component: () =>
                    import ('@/view/propertyinfo/billAccount/collection')
            },
            {
                path: 'tradingCenter',
                name: 'tradingCenter',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-medal',
                    title: '交易记录'
                },
                component: () =>
                    import ('@/view/propertyinfo/billAccount/tradingCenter')
            },
        ]
    },
    {
        path: '/userManagement',
        name: 'userManagement',
        meta: {
            access: ['super_admin', 'service_admin', 'property_admin'],
            icon: 'ios-people',
            title: '用户管理'
        },
        component: Main,
        children: [
            {
                path: 'userAdd',
                name: 'userAdd',
                meta: {
                    access: ['super_admin', 'service_admin', 'property_admin'],
                    icon: 'ios-contact',
                    title: '新增用户'
                },
                component: () =>
                    import ('@/view/userManagement/userAdd')
            },
            {
                path: 'userList',
                name: 'userList',
                meta: {
                    access: ['super_admin', 'service_admin', 'property_admin'],
                    icon: 'ios-contacts',
                    title: '用户管理'
                },
                component: () =>
                    import ('@/view/userManagement/userList')
            }
        ]
    },
    {
        path: '/report',
        name: 'report',
        meta: {
            access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
            icon: 'md-construct',
            title: '报事派工'
        },
        component: Main,
        children: [
            {
                path: 'reportRepair',
                name: 'reportRepair',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-construct',
                    title: '报事报修'
                },
                component: () =>
                    import ('@/view/propertyinfo/housinginfo/reportRepair')
            },
            {
                path: 'advice',
                name: 'advice',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'md-bookmarks',
                    title: '投诉建议'
                },
                component: () =>
                    import ('@/view/propertyinfo/housinginfo/advice')
            }
        ]
    },
    {
        path: "/espress",
        name: "espress",
        meta: {
            access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
            icon: "md-cube",
            title: "驿站管理"
        },
        component: Main,
        children: [
            {
                path: 'kdCompany',
                name: 'kdCompany',
                meta: {
                    access: ['super_admin', 'service_admin'],
                    icon: 'ios-briefcase',
                    title: '快递公司管理'
                },
                component: () =>
                    import ('@/view/espress/kdCompany')
            },
            {
                path: 'kdGoods',
                name: 'kdGoods',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-albums',
                    title: '包裹查询'
                },
                component: () =>
                    import ('@/view/espress/kdGoods')
            },
            {
                path: 'kdEmployee',
                name: 'kdEmployee',
                meta: {
                    access: ['super_admin', 'service_admin'],
                    icon: 'ios-body',
                    title: '快递员管理'
                },
                component: () =>
                    import ('@/view/espress/kdEmployee')
            },
            {
                path: 'kdBalance',
                name: 'kdBalance',
                meta: {
                    access: ['service_admin', 'service', 'property_admin', 'property'],
                    icon: 'md-paper',
                    title: '快递结算'
                },
                component: () =>
                    import ('@/view/espress/kdBalance')
            },
            {
                path: 'kdStorage',
                name: 'kdStorage',
                meta: {
                    access: ['super_admin', 'service_admin'],
                    icon: 'md-grid',
                    title: '货架管理'
                },
                component: () =>
                    import ('@/view/espress/kdStorage')
            }
        ]
    },
    {
        path: '/page',
        name: 'page',
        meta: {
            access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
            icon: 'ios-people-outline',
            title: '其他',
            hideInMenu: true
        },
        component: Main,
        children: [
            {
                path: 'recharge',
                name: 'recharge',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-planet-outline',
                    title: '充值'
                },
                component: () =>
                    import ('@/view/page/recharge')
            }
        ]
    },
    /*{
        path: "/kdBox",
        name: "kdBox",
        meta: {
            access: ['super_admin','service_admin','service','property_admin','property'],
            icon: "md-cube",
            title: "快递柜管理"
        },
        component: Main,
        children: [
            {
                path: 'courier',
                name: 'courier',
                meta: {
                    access: ['super_admin','service_admin'],
                    icon: 'ios-body',
                    title: '快递员管理'
                },
                component: () =>
                    import ('@/view/kdBox/courier')
            },
            {
                path: 'package2',
                name: 'package2',
                meta: {
                    access: ['super_admin','service_admin','service','property_admin','property'],
                    icon: 'ios-albums',
                    title: '包裹管理'
                },
                component: () =>
                    import ('@/view/kdBox/package2')
            },
            {
                path: 'locker',
                name: 'locker',
                meta: {
                    access: ['super_admin','service_admin'],
                    icon: 'md-grid',
                    title: '柜子管理'
                },
                component: () =>
                    import ('@/view/kdBox/locker')
            },
            {
                path: 'user2',
                name: 'user2',
                meta: {
                    access: ['super_admin','service_admin'],
                    icon: 'md-contacts',
                    title: '用户管理'
                },
                component: () =>
                    import ('@/view/kdBox/user2')
            },
        ]
    },*/
    /*{
        path: '/client-service',
        name: 'client-service',
        meta: {
            access: ['super_admin','service_admin','property_admin'],
            icon: 'ios-analytics',
            title: '客服系统'
        },
        component: Main,
        children: [
            {
                path: 'owner',
                name: 'owner',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'ios-body',
                    title: '业主信息系统'
                },
                component: () =>
                    import ('@/view/client-service/ownerList')
            },
            {
                path: 'client',
                name: 'client',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'md-bicycle',
                    title: '对客服务系统'
                },
                component: () =>
                    import ('@/view/client-service/client')
            }
        ]
    },*/
    /*{
        path: '/charge-management',
        name: 'charge-management',
        meta: {
            access: ['super_admin','service_admin','property_admin'],
            icon: 'logo-bitcoin',
            title: '收费管理系统'
        },
        component: Main,
        children: [
            {
                path: 'charge',
                name: 'charge',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'ios-brush',
                    title: '收费管理模块'
                },
                component: () =>
                    import ('@/view/charge-management/charge')
            },
            {
                path: 'report',
                name: 'report',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'md-book',
                    title: '收费报表模块'
                },
                component: () =>
                    import ('@/view/charge-management/report')
            },
            {
                path: 'finance',
                name: 'finance',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'md-briefcase',
                    title: '财务模块其他需求'
                },
                component: () =>
                    import ('@/view/charge-management/finance')
            }
        ]
    },*/
    /*{
        path: '/equipment',
        name: 'equipment',
        meta: {
            access: ['super_admin','service_admin','property_admin'],
            icon: 'md-cog',
            title: '设备巡检管理'
        },
        component: Main,
        children: [
            {
                path: 'inspectionList',
                name: 'inspectionList',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'md-desktop',
                    title: '设备巡检管理'
                },
                component: () =>
                    import ('@/view/equipment/inspectionList')
            },
            {
                path: 'maintenance',
                name: 'maintenance',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'md-color-fill',
                    title: '设备保养记录'
                },
                component: () =>
                    import ('@/view/equipment/maintenance')
            },
            {
                path: 'repair',
                name: 'repair',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'md-build',
                    title: '设备维修记录'
                },
                component: () =>
                    import ('@/view/equipment/repair')
            },
            {
                path: 'check',
                name: 'check',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'ios-create',
                    title: '设备检测记录'
                },
                component: () =>
                    import ('@/view/equipment/check')
            },
        ]
    },*/
    {
        path: '/parking',
        name: 'parking',
        meta: {
            access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
            icon: 'logo-vimeo',
            title: '停车场管理'
        },
        component: Main,
        children: [
            {
                path: 'parkingList',
                name: 'parkingList',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'md-car',
                    title: '停车场'
                },
                component: () =>
                    import ('@/view/parking/parkingList')
            },
            {
                path: 'road',
                name: 'road',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'md-swap',
                    title: '出入口'
                },
                component: () =>
                    import ('@/view/parking/road')
            },
            {
                path: 'record',
                name: 'record',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-list-box',
                    title: '停车记录'
                },
                component: () =>
                    import ('@/view/parking/record')
            },
            {
                path: 'carInfo',
                name: 'carInfo',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'ios-apps',
                    title: '车辆信息'
                },
                component: () =>
                    import ('@/view/parking/carInfo')
            },
            {
                path: 'payment',
                name: 'payment',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'logo-yen',
                    title: '缴费记录'
                },
                component: () =>
                    import ('@/view/parking/payment')
            },
            /*{
                path: '/coupon',
                name: 'ptCoupon',
                meta: {
                    access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                    icon: 'md-pricetag',
                    title: '优惠券管理'
                },
                component: parentView,
                children: [
                    {
                        path: '/parking/coupon/ptBusiness',
                        name: 'ptBusiness',
                        meta: {
                            access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                            icon: 'md-person',
                            title: '商家管理'
                        },
                        component: () =>
                            import ('@/view/parking/coupon/ptBusiness')
                    }, {
                        path: '/parking/coupon/ptList',
                        name: 'ptList',
                        meta: {
                            access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                            icon: 'md-pricetags',
                            title: '优惠券列表'
                        },
                        component: () =>
                            import ('@/view/parking/coupon/ptList')
                    }, {
                        path: '/parking/coupon/ptRecord',
                        name: 'ptRecord',
                        meta: {
                            access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
                            icon: 'md-paper',
                            title: '发放记录'
                        },
                        component: () =>
                            import ('@/view/parking/coupon/ptRecord')
                    },

                ],

            },*/
        ]
    },
    {
        path: '/doorSystem',
        name: 'doorSystem',
        meta: {
            access: ['super_admin', 'service_admin', 'service', 'property_admin', 'property'],
            icon: 'ios-bus-outline',
            title: '智能门禁系统'
        },
        component: Main,
        children: [
            {
                path: 'access',
                name: 'access',
                meta: {
                    access: ['super_admin', 'service_admin', 'property_admin'],
                    icon: 'ios-bus',
                    title: '通行记录'
                },
                component: () =>
                    import ('@/view/doorSystem/access')
            },
            {
                path: 'brand',
                name: 'brand',
                meta: {
                    access: ['super_admin'],
                    icon: 'ios-bus',
                    title: '品牌管理'
                },
                component: () =>
                    import ('@/view/doorSystem/brand')
            }, {
                path: 'guard',
                name: 'guard',
                meta: {
                    access: ['super_admin'],
                    icon: 'ios-bus',
                    title: '门禁DTU'
                },
                component: () =>
                    import ('@/view/doorSystem/guard')
            },
        ]
    },
    {
        path: '/systemConfig',
        name: 'systemConfig',
        meta: {
            access: ['super_admin'],
            icon: 'md-aperture',
            title: '系统配置'
        },
        component: Main,
        children: [
            {
                path: 'system',
                name: 'system',
                meta: {
                    access: ['super_admin'],
                    icon: 'ios-aperture-outline',
                    title: '社区应用管理'
                },
                component: () =>
                    import ('@/view/systemConfig/system')
            },
            {
                path: 'couponList',
                name: 'couponList',
                meta: {
                    access: ['super_admin'],
                    icon: 'ios-card',
                    title: '第三方优惠券'
                },
                component: () =>
                    import ('@/view/systemConfig/couponList')
            },
        ]
    },
    /*{
        path: '/patrol-system',
        name: 'patrol-system',
        meta: {
            access: ['super_admin','service_admin','property_admin'],
            icon: 'md-calendar',
            title: '智能巡更系统'
        },
        component: Main,
        children: [
            {
                path: 'patrol',
                name: 'patrol',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'md-calendar',
                    title: '智能巡更系统'
                },
                component: () =>
                    import ('@/view/patrol-system/patrol')
            }
        ]
    },*/
    /*{
        path: '/attendance-statistics',
        name: 'attendance-statistics',
        meta: {
            access: ['super_admin','service_admin','property_admin'],
            icon: 'md-analytics',
            title: '考勤统计'
        },
        component: Main,
        children: [
            {
                path: 'attendance',
                name: 'attendance',
                meta: {
                    access: ['super_admin','service_admin','property_admin'],
                    icon: 'md-analytics',
                    title: '考勤统计'
                },
                component: () =>
                    import ('@/view/attendance-statistics/attendance')
            }
        ]
    },*/
    // {
    //     path: '/quality-management',
    //     name: 'quality-management',
    //     meta: {
    //         access: ['super_admin','service_admin','property_admin'],
    //         icon: 'md-checkbox"',
    //         title: '品质管理系统'
    //     },
    //     component: Main,
    //     children: [
    //         {
    //             path: 'quality',
    //             name: 'quality',
    //             meta: {
    //                 access: ['super_admin','service_admin','property_admin'],
    //                 icon: 'ios-checkbox-outline',
    //                 title: '品质管理系统'
    //             },
    //             component: () =>
    //                 import ('@/view/quality-management/quality')
    //         }
    //     ]
    // },
    /*{
        path: '/other',
        name: 'other',
        meta: {
            access: ['super_admin'],
            icon: 'logo-reddit',
            title: '其他菜单'
        },
        component: Main,
        children: [{
            path: '/billList',
            name: 'billList',
            meta: {
                access: ['super_admin'],
                icon: 'ios-navigate',
                title: '支付宝账单查询'
            },
            component: () =>
                import ('@/view/other/billList.vue')
        },
            {
                path: '/gaode_query',
                name: 'gaode_query',
                meta: {
                    access: ['super_admin'],
                    icon: 'ios-navigate',
                    title: '高德地图接口'
                },
                component: () =>
                    import ('@/view/other/gaode_query.vue')
            },
            {
                path: '/shopList',
                name: 'shopList',
                meta: {
                    access: ['super_admin'],
                    icon: 'ios-navigate',
                    title: '门店管理'
                },
                component: () =>
                    import ('@/view/other/shopList.vue')
            },
            {
                path: '/shopUserList',
                name: 'shopUserList',
                meta: {
                    access: ['super_admin'],
                    icon: 'ios-navigate',
                    title: '门店关联用户'
                },
                component: () =>
                    import ('@/view/other/shopUserList.vue')
            },
            {
                path: 'directive_page',
                name: 'directive_page',
                meta: {
                    icon: 'ios-navigate',
                    title: '指令'
                },
                component: () =>
                    import ('@/view/directive/directive.vue')
            },
            {
                path: 'update_table_page',
                name: 'update_table_page',
                meta: {
                    icon: 'md-cloud-upload',
                    title: '上传Csv'
                },
                component: () =>
                    import ('@/view/other/update/update-table.vue')
            },
            {
                path: 'update_paste_page',
                name: 'update_paste_page',
                meta: {
                    icon: 'md-clipboard',
                    title: '粘贴表格数据'
                },
                component: () =>
                    import ('@/view/other/update/update-paste.vue')
            },
            {
                path: '/components',
                name: 'components',
                meta: {
                    icon: 'logo-buffer',
                    title: '组件'
                },
                component: parentView,
                children: [{
                    path: 'count_to_page',
                    name: 'count_to_page',
                    meta: {
                        icon: 'md-trending-up',
                        title: '数字渐变'
                    },
                    component: () =>
                        import ('@/view/components/count-to/count-to.vue')
                },
                    {
                        path: 'tables_page',
                        name: 'tables_page',
                        meta: {
                            icon: 'md-grid',
                            title: '多功能表格'
                        },
                        component: () =>
                            import ('@/view/components/tables/tables.vue')
                    },
                    {
                        path: 'icons_page',
                        name: 'icons_page',
                        meta: {
                            icon: '_bear',
                            title: '自定义图标'
                        },
                        component: () =>
                            import ('@/view/components/icons/icons.vue')
                    }
                ]
            },
        ]
    },*/
    {
        path: '/401',
        name: 'error_401',
        meta: {
            hideInMenu: true
        },
        component: () =>
            import ('@/view/error-page/401.vue')
    },
    {
        path: '/500',
        name: 'error_500',
        meta: {
            hideInMenu: true
        },
        component: () =>
            import ('@/view/error-page/500.vue')
    },
    {
        path: '*',
        name: 'error_404',
        meta: {
            hideInMenu: true
        },
        component: () =>
            import ('@/view/error-page/404.vue')
    }
]
